used to sort the words is as follows: each node holds one word;